Year& Function Action Takes a date-time serial number and returns the year. Syntax Year& ( serial# ) Remarks The Year& function returns an integer between 1753 and 2078, inclusive, that represents the year corresponding to the argument. The argument serial# is a serial number that represents a date and-or time. For more information, see the topic "Serial Numbers" in this section. To use Year& in the QBX environment, use the DTFMTER.QLB Quick library. To use Year& outside of the QBX environment, link your program with the appropriate DTFMT xx.LIB file. Depending on the compiler options you chose when you installed BASIC, one or more of the following files will be available. ----------------------------------------------------------------------------- Filename Compiler options ---------------------------------------------------------------------------- DTFMTER.LIB 80x87 or emulator math; DOS or OS-2 real mode DTFMTAR.LIB Alternate math; DOS or OS-2 real mode DTFMTEP.LIB 80x87 or emulator math; OS-2 protected mode DTFMTAP.LIB Alternate math; OS-2 protected mode The DATIM.BI header file contains the necessary function declarations for using the date-time functions. For more information on using libraries, see Chapter 18, "Using LINK and LIB" and Chapter 19, "Creating and Using Quick Libraries" in the Programmer's Guide. See Also Day&, Hour&, Minute&, Month&, Now#, Second&, Serial Numbers a